package com.spider.im.common.constant;

public class RedisKey {
    /**
     * 用户长连接关系key
     */
    public static final String NETTY_USER_CHANNEL_KEY = "netty:user:channel:user_id_";

    /**
     * 用户token存储key
     */
    public static final String USER_TOKEN_KEY = "user:token:user_key_";
    /**
     * 用户验证码存储
     */
    public static final String SMS_LOGIN_CODE_KEY = "sms:login:code:";

    /**
     * 用户登录存储
     */
    public static final String USER_LOGIN_KEY = "user:login:";
    /**
     * redis锁key
     */
    public static final String REDIS_LOCK_KEY = "redis_lock:";
}
